package com.cr.api.vo;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement(name="xml")
public class PayCallBackVo {
    @XmlTransient
    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    @XmlElement(name = "total_fee")
    private String  total_fee;
    @XmlElement(name = "version")
    private String  version;
    @XmlTransient
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
    @XmlTransient
    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }
    @XmlTransient
    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }
    @XmlTransient
    public String getPay_result() {
        return pay_result;
    }

    public void setPay_result(String pay_result) {
        this.pay_result = pay_result;
    }
    @XmlTransient
    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }
    @XmlTransient
    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }
    @XmlTransient
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    @XmlTransient
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @XmlElement(name = "charset")

    private String charset;

    @XmlElement(name = "trade_type")
    private String trade_type;
    @XmlElement(name = "pay_result")

    private String pay_result;//0 成功
    @XmlElement(name = "out_trade_no")

    private String out_trade_no;//之前传过去的订单号
    @Override
    public String toString() {
        return "PayCallBackVo{" +
                "version='" + version + '\'' +
                ", charset='" + charset + '\'' +
                ", sign_type='" + sign_type + '\'' +
                ", status='" + status + '\'' +
                ", message='" + message + '\'' +
                '}';
    }

    @XmlElement(name = "sign_type")

    private String       sign_type;
    @XmlElement(name = "status")

    private String status;
    @XmlElement(name = "message")

    private String        message;

}
